package com.itqf.mapper;

import com.itqf.bean.DtsPermission;

import java.util.Set;

public interface DtsPermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DtsPermission record);

    int insertSelective(DtsPermission record);

    DtsPermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DtsPermission record);

    int updateByPrimaryKey(DtsPermission record);

    Set<String> queryPermissionByRoleIds(Integer[] roleIds);

    void deleteByRoleId(int roleId);
}